* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #222;
    color: #ddd;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screen {
    display: none;
    width: 100%;
    max-width: 900px;
}

.active {
    display: block;
}

#game-container {
    background-color: #333;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    width: 95%;
    max-width: 1000px;
}

/* Menu Screen */
#menu-screen {
    text-align: center;
    padding: 40px;
}

#menu-screen h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #8BC34A;
    text-shadow: 0 0 10px rgba(139, 195, 74, 0.7);
}

.path-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.path-buttons button {
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.path-buttons button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#cult-path {
    background-color: #9C27B0;
    color: white;
}

#mafia-path {
    background-color: #F44336;
    color: white;
}

#trafficking-path {
    background-color: #2196F3;
    color: white;
}

/* Game Screen */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #444;
}

#path-title {
    color: #8BC34A;
}

#stats {
    font-size: 1.2rem;
}

#stats span {
    margin-left: 15px;
}

#game-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#grass-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

#grass-clicker {
    width: 150px;
    height: 150px;
    background-color: #8BC34A;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.1s;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(139, 195, 74, 0.4);
    position: relative;
    overflow: hidden;
}

#grass-clicker::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }
    100% {
        transform: translateX(100%) translateY(100%);
    }
}

#grass-clicker:active {
    transform: scale(0.95);
}

#upgrades-container {
    background-color: #3a3a3a;
    padding: 15px;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
}

#upgrades-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.upgrade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #444;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.upgrade-item:hover {
    background-color: #555;
}

.upgrade-item.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

#story-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #3a3a3a;
    border-radius: 8px;
    height: 150px;
    overflow-y: auto;
}

#story-content {
    line-height: 1.6;
}

/* Dancing Rat */
.rat-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.dancing-rat {
    height: 250px;
    border-radius: 10px;
}

/* Music Button */
.music-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #8BC34A;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.music-button:hover {
    background-color: #9CCC65;
}

.music-button.muted {
    background-color: #666;
}